package factory.impl;

import factory.GUIFactory;
import service.Button;
import service.CheckBox;
import service.TextField;
import service.impl.WindowsButton;
import service.impl.WindowsCheckBox;
import service.impl.WindowsTextField;

/**
 * Windows风格GUI工厂 - 具体工厂1
 * 创建Windows风格的一系列UI组件
 */
public class WindowsGUIFactory implements GUIFactory {
    
    @Override
    public Button createButton() {
        return new WindowsButton();
    }
    
    @Override
    public TextField createTextField() {
        return new WindowsTextField();
    }
    
    @Override
    public CheckBox createCheckBox() {
        return new WindowsCheckBox();
    }
    
    @Override
    public String getDialogStyle() {
        return "Windows风格对话框 - 直角边框，蓝色标题栏";
    }
}

